package club.emergency.wechat.staff.search.provider;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Create with IntelliJ IDEA
 * Project Name: wechat
 * Package Name: club.emergency.wechat.staff.search.provider
 * Date: 2018/11/16
 *
 * @author: 快乐的小菌菌
 * Description:
 */
@EnableEurekaClient
@SpringBootApplication
@MapperScan("club.emergency.wechat.persistence")
@EnableConfigurationProperties
@ComponentScan(basePackages = {
        "club.emergency.wechat.redis",
        "club.emergency.wechat.persistence",
        "club.emergency.wechat.staff.search.provider"
})
public class StaffSearchProviderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(StaffSearchProviderServiceApplication.class, args);
    }

}
